package com.wisdytech.common.bean.event;

import com.wisdytech.common.enums.ActionType;
import com.wisdytech.linkdcs.equipment.model.CollectionParam;
import org.springframework.context.ApplicationEvent;

/**
 * dcs参数事件
 * 单独对参数进行修改事件
 * @author dlb
 *
 */
public class DcsParamChangeEvent extends ApplicationEvent {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8702034044577100174L;
	/**新加的参数*/
	private CollectionParam param;
	/**设备类别编码*/
	private String collectionClientId;
	/**增删改查方式*/
	private ActionType actionType;
	
	public DcsParamChangeEvent(Object source, ActionType actionType, CollectionParam param, String collectionClientId) {
		super(source);
		this.actionType=actionType;
		this.param=param;
		this.collectionClientId=collectionClientId;
	}

	public CollectionParam getParam() {
		return param;
	}




	public void setParam(CollectionParam param) {
		this.param = param;
	}

	

	public String getCollectionClientId() {
		return collectionClientId;
	}

	public void setCollectionClientId(String collectionClientId) {
		this.collectionClientId = collectionClientId;
	}

	public ActionType getActionType() {
		return actionType;
	}


	public void setActionType(ActionType actionType) {
		this.actionType = actionType;
	}
	
	

}
